Remove auto-cleaning of the build directory
authorAlex Crichton <alex@alexcrichton.com>
Wed, 14 Jan 2015 05:23:43 +0000 (21:23 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 4 Feb 2015 22:58:33 +0000 (14:58 -0800)
commitcd869ef636476ffffd1510e9c3001f7017d8687d
tree2a35c680f6672d52af09c53cda3f133b2276dd97
parenta59c52ddd2ea7e3f5daf335966ffe36d437d7ea1
Remove auto-cleaning of the build directory

Over time this functionality has become obsolete through other means. Due to the
usage of `-L dependency=foo` it's not possible to pick up stale dependencies by
accident, and due to `--extern` you can only pick up a dependency. All of the
cases that auto-cleaning was fixing are now fixed through other methods, so
there's not much use ensuring a "clean build directory" any more.

This has the benefit of fixing issues like #961 where the downside of long
compiles outweighs the benefits of a "let's pretend we started from scratch"
build.

Closes #961
src/cargo/ops/cargo_rustc/fingerprint.rs
src/cargo/ops/cargo_rustc/layout.rs
src/cargo/ops/cargo_rustc/mod.rs
tests/test_cargo_compile_path_deps.rs
tests/test_cargo_test.rs